// import service from "../../utils/request";
import { http } from "../../utils/request";
import { Login } from "./types";

/**
 * 登录
*/
export function login(data: Login) {
    return http.post('/api/login/', data)
}